package cn.minis.beans;

import cn.minis.beans.factory.config.BeanDefinition;

public interface BeanFactory {
    Object getBean(String beanName) throws BeansException;
    
    Boolean containsBean(String name);
    
    boolean isSingleton(String name);
    
    boolean isPrototype(String name);
    
    Class<?> getType(String name);
    
    //void registerBeanDefinition(String name, BeanDefinition beanDefinition);

}